package principal;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import controlador.SeguridadController;
import ventanas.FLogin;

public class Principal {
	
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				try {
					UIManager
							.setLookAndFeel("com.jtattoo.plaf.graphite.GraphiteLookAndFeel");
					FLogin login = new FLogin();
					login.setVisible(true);
					login.setLocationRelativeTo(null);

					SeguridadController controlador = new SeguridadController(
							login);
					login.setControlador(controlador);
		
				} catch (Exception e) {
					e.printStackTrace();
				}

			}
		});
	}
}
